package main

import (
	"fmt"
	"github.com/google/uuid"
)

func main() {
	uuid := uuid.NewString()
	fmt.Printf("uuid: %v\n", uuid)

	//两个切片的拼接
	var slice_3 = []int{1, 2, 3, 4, 5, 6}
	var slice_4 = []int{7, 8}
	slice_5 := append(slice_3, slice_4...)
	fmt.Printf("slice_5: %v\n", slice_5)

	SliceAppendStr()
}

func SliceAppendStr() {
	demo := append([]byte("hello "), "world"...)
	fmt.Println("SliceAppend:", string(demo))
}
